@import "./common.scss";

.wrap {
    header {
        nav {
            .title {
                a:nth-child(2) {
                    color: #cf0d0d;
                    border-bottom: 3px solid #cf0d0d;
                    font-weight: bold;
                }
            }
        }
    }

    main {
        width: 1300px;
        margin: 0 auto;

        .content_top {
            width: 100%;
            height: 280px;
            position: relative;

            .title {
                width: 440px;
                font-size: 48px;
                position: absolute;
                top: 90px;
                left: 95px;

                .left {
                    float: left;
                    color: red;
                }

                .right {
                    float: right;
                }
            }

            .input {
                width: 600px;
                display: flex;
                justify-content: space-between;
                position: absolute;
                top: 220px;
                left: 50px;

                .inputBox {
                    width: 100px;
                    height: 20px;
                    position: relative;

                    &:nth-child(n+4) {
                        width: 50px;
                        text-align: center;
                    }

                    select {
                        width: 50px;
                        height: 20px;
                        color: #d4d4d4;
                        font-size: 12px;
                        font-style: italic;
                        outline: none;
                        border-radius: 0;
                        appearance: none;
                        border: 1px solid #d4d4d4;
                        position: absolute;
                        top: 0;
                    }

                    .icon-xiala {
                        font-style: italic;
                        color: #fff;
                        background-color: #d4d4d4;
                        padding: 2px 4px 2px 0;
                        position: absolute;
                        right: 0;
                        top: 0px;
                        /* 穿透属性 */
                        pointer-events: none;
                    }
                }
            }
        }

        .content_bottom {
            width: 100%;
            height: 2700px;
            background-color: #f3f3f3;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;

            .artwork {
                width: 1200px;
                display: flex;
                justify-content: space-between;

                >div {
                    display: flex;
                    flex-direction: column;

                    .works {
                        width: 393px;
                        margin-bottom: 12px;
                        border: solid 1px #a0a0a0;

                        &:hover {
                            @extend %hover;
                        }

                        .imgBox {
                            img {
                                width: 100%;
                                display: block;
                            }
                        }

                        .textBox {
                            height: 110px;
                            padding: 0 10px;

                            p:first-child {
                                font-size: 18px;
                                margin: 25px 0 10px;

                                span {
                                    color: #bbb;
                                    float: right;
                                }
                            }

                            p:nth-child(2) {
                                color: #8b8a8a;

                                span {
                                    color: red;
                                }
                            }

                            p:last-child {
                                color: #848383;
                                margin-top: 25px;
                                font-size: 12px;
                                float: right;
                            }
                        }
                    }
                }

                .left {
                    .works:first-child {
                        box-shadow: 0 2px 4px 2px rgb(209, 201, 201);
                    }
                }
            }

            .loading {
                @extend %loading;
            }

            .backBox {
                @extend %back;
            }
        }
    }
}